package com.regex.web.entity.community;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.regex.web.entity.AutoIdBaseEntity;

/**
 * 
 * 〈一句话功能简述〉<br> 
 * 新闻评论
 *
 * @author regex
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@TableName("t_notice_comment")
public class NoticeCommentDTO extends AutoIdBaseEntity {

    private static final long serialVersionUID = 1L;

    @TableField("notice_id")
    private Long noticeId;

    @TableField("member_id")
    private Long memberId;

    @TableField("comment_id")
    private Long commentId;

    @TableField("content")
    private String content;

    @TableField("audit")
    private String audit;
    @TableField(exist = false)
    private String nickName; // 昵称
    @TableField(exist = false)
    private String headPic; // 头像
    @TableField(exist = false)
    private String timeAgo; // 创建时间转换为str
    @TableField(exist = false)
    private int likeCount; // 评论点赞数量 
    @TableField(exist = false)
    private String isLike; // 是否点赞  0 未点赞 1 已点赞
    
    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public String getTimeAgo() {
        return timeAgo;
    }

    public void setTimeAgo(String timeAgo) {
        this.timeAgo = timeAgo;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public String getIsLike() {
        return isLike;
    }

    public void setIsLike(String isLike) {
        this.isLike = isLike;
    }

    public Long getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(Long noticeId) {
        this.noticeId = noticeId;
    }
    
    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }
    
    public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }
    
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    
    public String getAudit() {
        return audit;
    }

    public void setAudit(String audit) {
        this.audit = audit;
    }

    @Override
    protected Serializable pkVal() {
        return super.pkVal();
    }

    @Override
    public String toString() {
        return "NoticeCommentDTO{" +
        "noticeId=" + noticeId +
        ", memberId=" + memberId +
        ", commentId=" + commentId +
        ", content=" + content +
        ", audit=" + audit +
        "}";
    }
}
